<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>RRRSRoguelike: RRRSRoguelike.Entities.Monster Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.7.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="RRRSRoguelike.ico"></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">RRRSRoguelike&#160;<span id="projectnumber">0.5.0.</span></div>
   <div id="projectbrief">This is a Roguelike C# game that has a really simple goal - pickup a sword and kill the monster(s). Of course if you don't pickup the sword you can guess what happens.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespace_r_r_r_s_roguelike.html">RRRSRoguelike</a>      </li>
      <li class="navelem"><a class="el" href="namespace_r_r_r_s_roguelike_1_1_entities.html">Entities</a>      </li>
      <li class="navelem"><a class="el" href="class_r_r_r_s_roguelike_1_1_entities_1_1_monster.html">Monster</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<h1>RRRSRoguelike.Entities.Monster Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="RRRSRoguelike::Entities::Monster" --><!-- doxytag: inherits="RRRSRoguelike::Entities::Creature" -->
<p>Represents the current sole bad guy.  
<a href="#_details">More...</a></p>
<div class="dynheader">
Inheritance diagram for RRRSRoguelike.Entities.Monster:</div>
<div class="dyncontent">
<div class="center"><img src="class_r_r_r_s_roguelike_1_1_entities_1_1_monster__inherit__graph.png" border="0" usemap="#_r_r_r_s_roguelike_8_entities_8_monster_inherit__map" alt="Inheritance graph"/></div>
<map name="_r_r_r_s_roguelike_8_entities_8_monster_inherit__map" id="_r_r_r_s_roguelike_8_entities_8_monster_inherit__map">
<area shape="rect" id="node2" href="class_r_r_r_s_roguelike_1_1_entities_1_1_creature.html" title="base class for all living entities" alt="" coords="77,80,147,107"/><area shape="rect" id="node4" href="class_r_r_r_s_roguelike_1_1_entities_1_1_tile.html" title="Tile" alt="" coords="91,5,133,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for RRRSRoguelike.Entities.Monster:</div>
<div class="dyncontent">
<div class="center"><img src="class_r_r_r_s_roguelike_1_1_entities_1_1_monster__coll__graph.png" border="0" usemap="#_r_r_r_s_roguelike_8_entities_8_monster_coll__map" alt="Collaboration graph"/></div>
<map name="_r_r_r_s_roguelike_8_entities_8_monster_coll__map" id="_r_r_r_s_roguelike_8_entities_8_monster_coll__map">
<area shape="rect" id="node2" href="class_r_r_r_s_roguelike_1_1_entities_1_1_creature.html" title="base class for all living entities" alt="" coords="110,187,180,213"/><area shape="rect" id="node4" href="class_r_r_r_s_roguelike_1_1_entities_1_1_tile.html" title="Tile" alt="" coords="69,96,112,123"/><area shape="rect" id="node6" href="class_r_r_r_s_roguelike_1_1_managers_1_1_action_manager.html" title="Stores a list of actions along with the keys mapped to those actions Checks action map against the in..." alt="" coords="136,96,403,123"/><area shape="rect" id="node8" href="class_r_r_r_s_roguelike_1_1_managers_1_1_input_manager.html" title="RRRSRoguelike.Managers.InputManager" alt="" coords="5,5,264,32"/><area shape="rect" id="node10" href="class_r_r_r_s_roguelike_1_1_helpers_1_1_action_map.html" title="RRRSRoguelike.Helpers.ActionMap" alt="" coords="288,5,517,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_r_r_r_s_roguelike_1_1_entities_1_1_monster-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_r_r_s_roguelike_1_1_entities_1_1_monster.html#a517317f793811856cda686ece0e56ff0">Monster</a> (Point position, <a class="el" href="class_r_r_r_s_roguelike_1_1_entities_1_1_tile.html#a2338af952775a0a31746b18c16971af9">TileData</a> tileData)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Takes a point and initializes the monster.  <a href="#a517317f793811856cda686ece0e56ff0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_r_r_s_roguelike_1_1_entities_1_1_monster.html#ac02278cfdcb03494e142253c8c3d4983">MoveToPlayer</a> (Point playerLocation, IList&lt; <a class="el" href="class_r_r_r_s_roguelike_1_1_entities_1_1_monster.html">Monster</a> &gt; monsters)</td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_r_r_s_roguelike_1_1_entities_1_1_monster.html#a9b014f3d258d2e08f29813b3e0abdf89">hasMoved</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Represents the current sole bad guy. </p>

<p>Definition at line <a class="el" href="_monster_8cs_source.html#l00018">18</a> of file <a class="el" href="_monster_8cs_source.html">Monster.cs</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a517317f793811856cda686ece0e56ff0"></a><!-- doxytag: member="RRRSRoguelike::Entities::Monster::Monster" ref="a517317f793811856cda686ece0e56ff0" args="(Point position, TileData tileData)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RRRSRoguelike.Entities.Monster.Monster </td>
          <td>(</td>
          <td class="paramtype">Point&#160;</td>
          <td class="paramname"><em>position</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_r_r_r_s_roguelike_1_1_entities_1_1_tile.html#a2338af952775a0a31746b18c16971af9">TileData</a>&#160;</td>
          <td class="paramname"><em>tileData</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Takes a point and initializes the monster. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">p</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_monster_8cs_source.html#l00028">28</a> of file <a class="el" href="_monster_8cs_source.html">Monster.cs</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ac02278cfdcb03494e142253c8c3d4983"></a><!-- doxytag: member="RRRSRoguelike::Entities::Monster::MoveToPlayer" ref="ac02278cfdcb03494e142253c8c3d4983" args="(Point playerLocation, IList&lt; Monster &gt; monsters)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RRRSRoguelike.Entities.Monster.MoveToPlayer </td>
          <td>(</td>
          <td class="paramtype">Point&#160;</td>
          <td class="paramname"><em>playerLocation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IList&lt; <a class="el" href="class_r_r_r_s_roguelike_1_1_entities_1_1_monster.html">Monster</a> &gt;&#160;</td>
          <td class="paramname"><em>monsters</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">playerLocation</td><td></td></tr>
    <tr><td class="paramname">monsters</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_monster_8cs_source.html#l00042">42</a> of file <a class="el" href="_monster_8cs_source.html">Monster.cs</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_r_r_r_s_roguelike_1_1_entities_1_1_monster_ac02278cfdcb03494e142253c8c3d4983_cgraph.png" border="0" usemap="#class_r_r_r_s_roguelike_1_1_entities_1_1_monster_ac02278cfdcb03494e142253c8c3d4983_cgraph" alt=""/></div>
<map name="class_r_r_r_s_roguelike_1_1_entities_1_1_monster_ac02278cfdcb03494e142253c8c3d4983_cgraph" id="class_r_r_r_s_roguelike_1_1_entities_1_1_monster_ac02278cfdcb03494e142253c8c3d4983_cgraph">
<area shape="rect" id="node3" href="class_r_r_r_s_roguelike_1_1_helpers_1_1_behaviors_1_1_mindless.html#af167ec9db128f870d9e602c176e4d405" title="RRRSRoguelike.Helpers.Behaviors.Mindless.MoveToTarget" alt="" coords="352,5,715,32"/><area shape="rect" id="node5" href="class_r_r_r_s_roguelike_1_1_helpers_1_1_dungeon_level.html#a6c955c872e3b14fb69e1a14baf15e7cb" title="RRRSRoguelike.Helpers.DungeonLevel.ClampToDungeon" alt="" coords="763,5,1117,32"/></map>
</div>
</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a9b014f3d258d2e08f29813b3e0abdf89"></a><!-- doxytag: member="RRRSRoguelike::Entities::Monster::hasMoved" ref="a9b014f3d258d2e08f29813b3e0abdf89" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_r_r_r_s_roguelike_1_1_entities_1_1_monster.html#a9b014f3d258d2e08f29813b3e0abdf89">RRRSRoguelike.Entities.Monster.hasMoved</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_monster_8cs_source.html#l00021">21</a> of file <a class="el" href="_monster_8cs_source.html">Monster.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>C:/Users/Andrew Sadler/Desktop/Sync/RRRS Rogue/0-5a/rrrsroguelike/RRRSRoguelike/Entities/Creatures/<a class="el" href="_monster_8cs_source.html">Monster.cs</a></li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Events</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>Generated on Tue Sep 4 2012 06:25:52 for RRRSRoguelike by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>
